package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 *@ClassName GatewayApplication
 *@Description TODO
 *@Author 吃麻椒的花酱
 *@Date 2021/9/2 12:16
 *@Version 1.0
 */
@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class  /*取消自动加载数据库配置*/
})
@ComponentScan(basePackages = {"com.fmjava" })
@EnableDiscoveryClient
public class GatewayApplication {
    public static void main(String[] args) {

        SpringApplication.run(GatewayApplication.class, args);
    }
}
